Adding User-defined Simple Beam Units
The following example shows how to add to the list of available units for the Simple Beam command.
To add to the list of units for the Simple Beam command:
1.
Make a backup copy of the GetUserData.vss file located in Plug-ins\VW_Mech\Includes. Keep the backup copy in case there is a need to restore the GetUserData.vss file to its original state.
2.
3.
Using the next available sequential number, add the new Units to the end of the list (in this example, Yards). Enclose the name in single quotes and put a semi-colon at the end of the line. The new line should read:
6: getUserString := ‘Yards’;
4.
5.
Using the next available sequential number, add the new Units to the end of the list. (In this example, type yard in the singular form; this value is used in certain output for the Simple Beam command and must have an entry corresponding to the same item in group 1).
Enclose the name in single quotes and put a semi-colon at the end of the line. The new line should read:
6: getUserString := ‘Yard’;
6.
7.
Using the next available sequential number, add the new Units to the end of the list (in this example, units per inch of a yard: 1/36). The sequential number added here must correspond to the number added in the getUserString function. Put a semi-colon at the end of the line; do not enclose the name in single quotes. The new line should read:
6: getUserData := 1/36;
8.
9.
Save the file. The next time the Simple Beam command is used, the new item is available in the Beam Properties dialog box.
This change also affects the Shaft properties of the Shaft Analysis command. These values are also used by the Spring Calculator Units, but only items 1, 3, and 4 are applicable, so the new units (Yards) will not show up in this field.

Advanced Topics : Adding User-defined Information to Commands : Adding User-defined Simple Beam Units

Nemetschek NA
Phone: 410.290.5114
Fax: 410.290.8050